package ma.techit.pfe.agence.voyage.controller;

import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@Controller
//@SessionAttributes({ "userSession" })
public class Accueil_Controller {
	
	@RequestMapping(value = "/deconnexion", method = RequestMethod.GET)
	public String deconnexion(HttpSession session){
		session.invalidate();
		return "redirect:/";
	}
	
	
	
	
}
